//apis
import { getProjectLogo } from '../apis'

/**
 * @description 获取logo
 */
export const useLogoEffect = () => {
  /**
   * @description 获取logo信息
   */
  let logo = ref('')
  const getLogo = async () => {
    const { data } = await getProjectLogo()

    logo.value = data.logo2
  }

  onMounted(async () => {
    await getLogo()
  })

  return {
    logo
  }
}
